package com.jr.platform.domain.Enums;

import lombok.Getter;
import lombok.Setter;

/**
 * @author xy
 */
public enum ColumTypeEnum {
    VARCHAR("varchar","varchar(255)"),STRING("string","varchar(255)"),BIGINT("bigint","bigint"),DATETIME("datetime","datetime"),DECIMAL("decimal","decimal(10,2)"),NUMBER("Number","decimal(10,2)"),CHAR("char","char(1)");

    @Setter
    @Getter
    private String code;
    @Setter
    @Getter
    private String value;

    ColumTypeEnum(String code,String value){
        this.code =code;
        this.value = value;
    }
}
